package top.fangw.common.api.openfign.admin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import top.fangw.common.api.vo.InitRoleVo;
import top.fangw.common.core.result.Result;

/**
 * @description:
 * @author: fgw
 * @createDate: 2024/3/8
 */
@FeignClient(name = "cloud-admin")
public interface IRoleServiceFeign {

    /**
     * 初始化租户角色信息
     * @param initRoleVo 初始化租户角色信息
     * @return 初始化租户角色信息
     */
    @PostMapping("/sys-role/initTenantRole")
    Result<InitRoleVo> initTenantRole(@RequestBody InitRoleVo initRoleVo);
}
